<?php if(!defined('PHPOK_SET')){die('<h3>Error...</h3>');}?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $sitetitle;?></title>
<meta name="keywords" content="<?php echo $system[keywords];?>">
<meta name="description" content="<?php echo $system[description];?>">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="templates/zh/default/images/default.css" />
<link rel="stylesheet" type="text/css" href="css/code.css" />
</head>
<body>
<div id="doc4" class="yui-t6">
	<div id="hd">
		<div id="md_logo"><h1>EnterBay</h1></div>
		<div id="md_lang" class="clearfix">
		    <?php $lng = Language();
            foreach($lng as $key=>$value){?>
    		    <a href="?langsign=<?php echo $value[sign]?>"><em><?php echo $value[name]?></em></a>
            <?php }?>
        </div>
		<div id="md_nav"><ul class="clearfix">
			<?php $_i=0;$qgnav=(is_array($qgnav))?$qgnav:array();foreach($qgnav AS  $key=>$value){$_i++; ?>
			<li><a href="<?php echo $value[url];?>"<?php if($value[target]){?> target="_blank"<?php } ?> class="<?php echo $value[css];?>"><span><?php echo $value[name];?></span></a></li>
			<?php } ?>
		</ul></div>
   </div>